package scau.erps.entity;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;

/**
 * 贷款实体类
 * @author DCJ
 *
 */
@Table("LOAN")
public class Loan implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	@Column
	@Id 
	private Integer id;
	@Column
	@Name
	private String loanNo;//编码规则:贷款类型标识-申请日期-小组号   eg  SL-Y2Q3-1 
	@Column
	private int team_Id;
	@Column
	private String loanType; //1:短贷 2：长贷  3：高利贷
	@Column
	private int amount;
	@Column
	private String beginTime; // 申请时间 eg Y2Q3
	@Column
	private String endTime; //应还款时间
	@Column
	private int interest; //利息
	@Column
	private String status; //1已申请 2 已审核  3已还款
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getLoanNo() {
		return loanNo;
	}
	public void setLoanNo(String loanNo) {
		this.loanNo = loanNo;
	}
	public int getTeam() {
		return team_Id;
	}
	public void setTeam(int team_Id) {
		this.team_Id = team_Id;
	}
	public String getLoanType() {
		return loanType;
	}
	public void setLoanType(String loanType) {
		this.loanType = loanType;
	}
	public int getAmount() {
		return amount;
	}
	public void setAmount(int amount) {
		this.amount = amount;
	}
	public String getBeginTime() {
		return beginTime;
	}
	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public int getInterest() {
		return interest;
	}
	public void setInterest(int interest) {
		this.interest = interest;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	
}
